import 'package:flutter/services.dart';
import 'package:yeild_libs_rfid_platform_interface/yeild_libs_rfid_platform_interface.dart';

/// The method channel used to interact with the native platform.
const _channel = MethodChannel('plugins.libs.yeild.com/rfid_android');

class YeildLibsRfidAndroid extends RfidPlatformInterface {
  static void registerWith() {
    RfidPlatformInterface.instance = YeildLibsRfidAndroid();
  }

  @override
  Future<String?> getPlatformVersion() async {
    final version = await _channel.invokeMethod<String>('getPlatformVersion');
    return version;
  }
}
